﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LoginManagerLibrary.Interfaces
{
    public interface ILoginDataAccessor
    {
        bool Login(string userName, string password);
        bool ResetPassword(string userName, string password, string authorizedUserName);
        bool ChangePassword(string userName, string newPassword);
        bool DeleteLogin(string userName, string authorizedUserName);
        bool LogOff(string userName);
        ValidationAttribute[] GetUserNameValidationAttributes();
        ValidationAttribute[] GetPasswordValidationAttributes();
    }
}
